#include <QtGui/QApplication>
#include "mainwidget.h"
#include <QVector>
#include <QDebug>
#include <QTimer>
#include <QTime>

int main(int argc, char *argv[])
{
    QTime time = QTime::currentTime();
    qsrand((uint)time.msec());

    QApplication a(argc, argv);

    MainWidget mainWidget;
    mainWidget.show();
    QTimer::singleShot(1000, &mainWidget, SLOT(startWork()));

    return a.exec();
}

